package com.powwow.as3Core.utilites.bitwise
{
	public function setBitsOff(value:uint, bits:uint):uint
	{
		if (value == 0)
			return value
		else if (bits == 0 || value == bits)
			return 0
		else
			return (~bits & value);
	}
}
